package cn.tsoft.vo;

import android.os.Parcel;
import android.os.Parcelable;

public class ItemForDetail implements Parcelable{
	private String title;
	private String price;
	private String freight_payer;
	private String pic_url;
	private String volume;
	
	private String num_iid;
	
	
	public String getNum_iid() {
		return num_iid;
	}
	public void setNum_iid(String num_iid) {
		this.num_iid = num_iid;
	}
	public String getVolume() {
		return volume;
	}
	public void setVolume(String volume) {
		this.volume = volume;
	}
	private String num;
	private String desc;
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getFreight_payer() {
		return freight_payer;
	}
	public void setFreight_payer(String freight_payer) {
		this.freight_payer = freight_payer;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getNum() {
		return num;
	}
	public void setNum(String num) {
		this.num = num;
	}
    public String getPic_url() {
		return pic_url;
	}
	public void setPic_url(String pic_url) {
		this.pic_url = pic_url;
	}
	public static final Parcelable.Creator<ItemForDetail> CREATOR = new Creator<ItemForDetail>() {   
        public ItemForDetail createFromParcel(Parcel source) {   
        	ItemForDetail onSaleItemForList = new ItemForDetail();   
        	onSaleItemForList.title = source.readString();   
        	onSaleItemForList.pic_url = source.readString();
        	onSaleItemForList.num = source.readString();   
        	onSaleItemForList.volume= source.readString();
        	onSaleItemForList.price= source.readString();
        	onSaleItemForList.desc= source.readString();
        	onSaleItemForList.freight_payer= source.readString();
            return onSaleItemForList;   
        }   
        public ItemForDetail[] newArray(int size) {   
            return new ItemForDetail[size];   
        }   
    }; 
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(title);
		dest.writeString(pic_url);
		dest.writeString(num);
		dest.writeString(desc);
		dest.writeString(volume);
		dest.writeString(price);
		dest.writeString(freight_payer);
	}

}
